File.open('p17-6.rb') do |file|
  lnNum = 0
  file.each_line do |ln|
    lnNum += 1
    p "Line:#{lnNum} => #{ln}" if ln =~/#{ARGV[0]}/
  end
end